import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';

class YBAboutUsSubPage extends StatelessWidget {

  final String title;

  const YBAboutUsSubPage({Key key, this.title}) : super(key: key);


  @override
  Widget build(BuildContext context) {
    return Container(
      height: YBTextStyle.adapterSize58,
      color: YBColor.white,
      child: Padding(
        padding: EdgeInsets.only(left: YBTextStyle.adapterSize20,right: YBTextStyle.adapterSize20),
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            Container(
              child: Text(
                title??"",
                style: YBTextStyle.TextStyle1C1D1F15,
              ),
            ),
            Container(
              child: Image.asset(YBImageStyle.getImagePath("findIconArrowRight")),
            ),
          ],
        ),
      ),
    );
  }
}
